﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;

namespace FanaticGene.OpenSlide.Windows
{
    internal class DialogWindow : Window
    {
        public DialogWindow(UserControl userControl)
        {
            Content = userControl;
            Width = 350;
            ResizeMode = ResizeMode.NoResize;
            userControl.Margin = new Thickness(20);
            SizeToContent = SizeToContent.Height;
        }
    }
}
